(C) 1996 AROS - The Amiga Replacement OS


NAME
struct MemList * AllocEntry()
SYNOPSIS
struct MemList * entry

LOCATION
In SysBase at offset 37
FUNCTION
Allocate a number of memory blocks through a MemList structure.

INPUTS
entry
The MemList with one MemEntry for each block you want to get
RESULT
The allocation was successful if the most significant bit of the result is 0. The result then contains a pointer to a copy of the MemList structure with the me_Addr fields filled. If the most significant bit is set the result contains the type of memory that couldn't be allocated.

NOTES
EXAMPLE
BUGS
SEE ALSO
FreeEntry()
INTERNALS
HISTORY
12.05.1997 aros
Fixed all headers
29.03.1997 ldp
Added a comment about the so-called kludge
06.03.1997 ldp
Removed log.

Add debugging.

AROSfA: Add compatibility kludge to stop AllocEntry() from failing if one of the length fields is 0. For instance: CrossDos' PCx uses a MemList of 7 fields, but the last two are empty.

01.01.1997 ldp
Committed Amiga native (support) code

Changed clib to proto

10.12.1996 aros
Moved all #include's in the first column so makedepend can see it.
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
13.09.1996 digulla
Use IPTR
13.08.1996 digulla
Replaced __AROS_LA by __AROS_LHA Replaced some __AROS_LH*I by __AROS_LH* Sorted and added includes
01.08.1996 digulla
Added standard header for all files
01.08.1996 digulla
Added copyright notics and made headers conform
28.07.1996 digulla
Initial revision
28.07.1996 digulla
First CVS version of AROS